<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>

    //好好 研究 声明式 和  表达式 的区别

    let aa=function (name){
        this.name=name;
        console.log(this.name)
        console.log(this)
    }

   let bb=new aa('张三')


    console.log(window)
    console.log(window.name)
</script>
</body>
</html>